﻿using Corina.Enumerations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Corina.Datamodel.Interface
{
    public interface IDeviceMessage
    {
        /// <summary>
        /// 编号
        /// </summary>
        int Id { get; set; }
        /// <summary>
        /// 设备序列号
        /// </summary>
        string DeviceSn { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        string Content { get; set; }

        /// <summary>
        /// 校验码
        /// </summary>
        string ProofValue { get; set; }
        /// <summary>
        /// 接收时间
        /// </summary>
        DateTime RecievedTime { get; set; }
        /// <summary>
        /// 传输方式
        /// </summary>
        TransTypeValue TransType { get; set; }
        /// <summary>
        /// 短信编号
        /// </summary>
        int SmsId { get; set; }
        /// <summary>
        /// 是否已解析
        /// </summary>
        bool IsAnalysed { get; set; }
        /// <summary>
        /// 手机号码或IP地址
        /// </summary>
        string MobileOrIP { get; set; }

        /// <summary>
        /// MD5
        /// </summary>
        string Md5Code { get; set; }

        /// <summary>
        /// 测量时间
        /// </summary>
        DateTime MeasureTime { get; set; }
    }
}
